#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>
char* my_strcpy(const char* arr1, char* arr2)
{
	char* ret = arr2;
	assert(arr1 != NULL);
	assert(arr2 != NULL);
	while (*(arr2++)=*(arr1++))
	{
		;
	}
	return ret;
}
int main()
{
	char arr1[50] = "abc";
	char arr2[50] = { 0 };
	printf("%s\n", my_strcpy(arr1, arr2));
}